package com.example.tongue.ui.Online.Body.utils;

public class ScoreCalculationEight {
    private  Integer RawScore; //原始分数
    private  int ConversionScore;//转化分数

    public ScoreCalculationEight(Integer rawScore) {
        this.RawScore = rawScore;
    }
    public String getResult(){
        double dbRawScore = Double.valueOf(RawScore);
        double dbConversionScore = Double.valueOf(ConversionScore);
        dbConversionScore= ((dbRawScore-8)/(8*4))*100;
        String ThreeValid= String.format("%.3f",dbConversionScore);
        return ThreeValid;
    }
}
